<?php
$currentId = null;
if ($this->current) {
	$currentId = $this->current->getId();
}

$options = array();
if (!$currentId) {
	$options[''] = '';
}

foreach ($this->elements as $element) {
	$options[$element->getId()] = $element->getName();
}


echo $this->formSelect($this->name, $currentId, null, $options);
